<?php

	include_once $_SERVER["DOCUMENT_ROOT"].'/service/entite/news/NewsService.php';
	class GererNewsService {
		public static function ajouterNews() {
			return NewsService::createNews();
		}
		
		public static function modifierNews($id) {
			return NewsService::getNewsForModification($id);
		}
		
		public static function validerNews(NewsEntite $newsEntite) {
			NewsService::save($newsEntite);
		}
		
		public static function supprimerNews($id) {
			NewsService::supprimerNews($id);
		}
		
		public static function getListeNews() {
			return NewsService::getListeNews();
		}
	}
?>